<style>

fieldset {
    background: url("img/sistema/login4.png") no-repeat scroll 10px 10px transparent;
    margin-left: 35%;
    padding-left: 117px;
    width: 10%;
}

fieldset legend {
	 margin-left: -105px;
}

</style>

<div id="login">

	<fieldset id="fs_login"><legend>Informe login e senha para acesso:</legend>
	
	<div style="float:left;">
		<?php 
		 	echo $this->Form->create('Usuario'); 
		 	echo $this->Form->input('username', array('label' => 'Login'));
		 	echo '<div style="clear:both;"></div>';
		 	echo $this->Form->input('password', array('type' => 'password', 'label' => 'Senha'));
		 	echo '<div class="botoes_form">';
		 	echo $this->Form->button('Acessar', array('type' => 'submit'));
		 	echo '</div>'; 
			echo $this->Form->end();
		?>
	</div>
	
	</fieldset>
	
</div>

<script>

	$(function() {
		<?php 
			if ($erro) echo "$('#login').effect('bounce','',100);";
		?>
	});

</script>